<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tintuc-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'tieu_de'); ?>
		<?php echo $form->textField($model,'tieu_de',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'tieu_de'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'noi_dung_trich'); ?>
		<?php echo $form->textField($model,'noi_dung_trich',array('size'=>60,'maxlength'=>500)); ?>
		<?php echo $form->error($model,'noi_dung_trich'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hinh_anh'); ?>
		<?php echo $form->textField($model,'hinh_anh',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'hinh_anh'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'noi_dung'); ?>
		<?php echo $form->textArea($model,'noi_dung',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'noi_dung'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ngay_dang'); ?>
		<?php echo $form->textField($model,'ngay_dang'); ?>
		<?php echo $form->error($model,'ngay_dang'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nguoi_dang'); ?>
		<?php echo $form->textField($model,'nguoi_dang',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'nguoi_dang'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'trang_thai'); ?>
		<?php echo $form->textField($model,'trang_thai'); ?>
		<?php echo $form->error($model,'trang_thai'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'so_luong'); ?>
		<?php echo $form->textField($model,'so_luong'); ?>
		<?php echo $form->error($model,'so_luong'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'uu_tien'); ?>
		<?php echo $form->textField($model,'uu_tien'); ?>
		<?php echo $form->error($model,'uu_tien'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'loai_tin'); ?>
		<?php echo $form->textField($model,'loai_tin'); ?>
		<?php echo $form->error($model,'loai_tin'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->